<h1>Listing papels</h1>

<table>
  <tr>
    <th>Nome</th>
    <th>Descricao</th>
    <th>Especifico conteudo</th>
  </tr>

<% for papel in @papels %>
  <tr>
    <td><%=h papel.nome %></td>
    <td class=descricao><%=h papel.descricao %></td>
    <td><%=h papel.especifico_conteudo %></td>
    <td><%= link_to 'Show', papel %></td>
    <td><%= link_to 'Edit', edit_papel_path(papel) %></td>
    <td><%= link_to 'Destroy', papel, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New papel', new_papel_path %>
